package com.ziq.zcamp.util

import android.content.Context
import android.widget.Toast
import androidx.annotation.StringRes
import com.ziq.zcamp.manager.GlobalContextManager

class ToastUtil {
    companion object {
        fun showToast(context: Context, @StringRes resID: Int){
            val errMsg = GlobalContextManager.getString(resID)
            Toast.makeText(context, errMsg, Toast.LENGTH_SHORT).show()
        }
    }
}